/* 清除默认样式 */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
li {
    list-style: none;
}

input {
    outline: none;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper {
    display: flex;
    width: 1090px;
    height: 448px;
    padding: 30px;
    border-radius: 3px;
    box-shadow: 0 0 5px #ccc;
}

.right-box,
.left-box {
    flex: 1;
}


/* 左侧 */

.left-box {
    box-shadow: 0 0 3px #ddd;
    margin-right: 30px;
    position: relative;
}

.left-box>img {
    width: 98%;
    height: 95%;
    cursor: move;
    position: absolute;
    top: 0px;
    left: 0px;
}

.left-text {
    position: absolute;
    top: 60px;
    left: 60px;
    font-weight: 600;
    font-size: 24px;
    cursor: move;
    color: #000;
}


/* 右侧 */

.right-box .img-list {
    border: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.img-list li {
    border: 1px solid transparent;
}

.img-list .active-li {
    border: 1px solid #3c9be9;
}

.img-list>li>img {
    width: 90px;
    height: 72px;
    cursor: pointer;
}

.edit {
    height: 140px;
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.edit .edit-text {
    height: 60px;
    width: 100%;
    display: flex;
}

.edit .edit-text>input {
    flex: 8;
}

.edit .font-style {
    flex: 2;
    height: 100%;
    background-color: #f5f5f5;
    padding: 8px;
    display: flex;
    align-items: center;
}

.edit .font-style .number {
    width: 50px;
    height: 24px;
    padding: 3px;
    margin-right: 8px;
    border: 1px solid #ccc;
}

.font-style #colorpicker {
    width: 24px;
    height: 24px;
    display: inline-block;
    border: 1px solid skyblue;
}

.edit .edit-text>input {
    width: 80%;
    border: 1px solid #ccc;
    font-size: 20px;
    padding: 10px;
}

::placeholder {
    color: #ccc;
}

.opts {
    margin-top: 20px;
}

.opts>button {
    width: 140px;
    height: 50px;
    border: none;
    background-color: #51a5eb;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-right: 20px;
    box-shadow: 3px 3px 5px #ccc;
    cursor: pointer;
}